import java.util.ArrayList;
import java.util.List;
public class School {
    private List<Department> departments = new ArrayList<>();
    private List<Student> students = new ArrayList<>();

    public void addDepartment(Department department) {
        departments.add(department);
    }

    public void addStudent(Student student) {
        students.add(student);
    }
    // 可根据需求添加其他方法
}